package com.lhz.collector.entity;

import com.lhz.collector.parse.lexer.BaseLexer;

import java.sql.Timestamp;
import java.util.List;

/**
 * Created by LHZ on 2017/4/1.
 */
public class Collector {
    private long id;
    private String name;
    private String type;
    private String ip;
    private String charset;
    private Timestamp updateTime;
    private List<ParseRule> parseRules;
    private List<BaseLexer> baseLexers;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getCharset() {
        return charset;
    }

    public void setCharset(String charset) {
        this.charset = charset;
    }

    public Timestamp getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Timestamp updateTime) {
        this.updateTime = updateTime;
    }

    public List<ParseRule> getParseRules() {
        return parseRules;
    }

    public void setParseRules(List<ParseRule> parseRules) {
        this.parseRules = parseRules;
    }

    public List<BaseLexer> getBaseLexers() {
        return baseLexers;
    }

    public void setBaseLexers(List<BaseLexer> baseLexers) {
        this.baseLexers = baseLexers;
    }
}
